package com.ysx.student.zhangqingrong.com.ysx.ysxbank;

import java.util.Scanner;

public class Bank {


    public static void main(String[] args) {
        // 银行atm；
        //  1,输入密码；
        int zqr = 1000;
        int zhangSan = 1000;
        String password = "123456";
        while (true) {
            Scanner scanner = new Scanner(System.in);
            System.out.println("请输入密码：");
            String next = scanner.next();
            // 输入密码正确
            if (password.equals(next)){
               continue;
            }
            System.out.println("请输入密码：");
            int  banLance= scanner.nextInt();
            System.out.println(banLance);





        }
    }
}
